<?php     

echo form_open(current_url()); ?>
<?php echo $custom_error; ?>
<?php echo form_hidden('idchitiet',$result->idchitiet) ?>

                                    <p><label for="iddh">Iddh<span class="required">*</span></label>                                
                                    <input id="iddh" type="text" name="iddh" value="<?php echo $result->iddh ?>"  />
                                    <?php echo form_error('iddh','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="idsanpham">Idsanpham<span class="required">*</span></label>                                
                                    <input id="idsanpham" type="text" name="idsanpham" value="<?php echo $result->idsanpham ?>"  />
                                    <?php echo form_error('idsanpham','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="soluong">Soluong<span class="required">*</span></label>                                
                                    <input id="soluong" type="text" name="soluong" value="<?php echo $result->soluong ?>"  />
                                    <?php echo form_error('soluong','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="gia">Gia<span class="required">*</span></label>                                
                                    <input id="gia" type="text" name="gia" value="<?php echo $result->gia ?>"  />
                                    <?php echo form_error('gia','<div>','</div>'); ?>
                                    </p>
                                    
<p>
        <?php echo form_submit( 'submit', 'Submit'); ?>
</p>

<?php echo form_close(); ?>
